<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/templates/common/taglib.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <title>${title}</title>
    <link rel="stylesheet" href="${basePath}/static/bootstrap/css/bootstrap.css"/>
    <link href="${basePath}/static/css/login.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/basic.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/list.css" rel="stylesheet" type="text/css">
   <%--  <link rel="stylesheet" href="${basePath}/static/css/content_leftNav.css"/>
    <link rel="stylesheet" href="${basePath}/static/css/FrontControl.css"/>
     --%>
    <script  type="text/javascript" src="${basePath}/static/js/jquery.min.js"></script>
	<script  type="text/javascript" src="${basePath}/static/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${basePath}/static/page/jqPaginator/jqPaginator.js"></script>
	
</head>
<body>
<!--头部-->
	<%@include file="/WEB-INF/templates/common/header.jsp"%>
	<!------导航条-->
	<%@include file="/WEB-INF/templates/common/navigation.jsp"%>

<!--内容部分-->
<div class="list_main lay_out" class="clearfix">
    <div class="list_DH">
        <%@include file="/WEB-INF/templates/common/qualityNav.jsp"%>
    </div>
    <div class="list_NR">
        <div class="loc">
            <h3 style="margin:0">质控审核</h3>
        </div>
        <div class="list_con_table">
           <div class="search_table">
                <ul class="clearfix">
             <form action="${basePath}/quality/addMedQualityRepair" id="formId" method="post">
             	<input type="hidden" name="medQualityControlId" value="${map.mqcId}">
             	<input type="hidden" name="firstLeverMedicalGuid" value="${map.uniqueKey}">
               <li class="Label_1" >识别码：&nbsp;</li>
               <li class="Label_2">
               	<input class="input_box" type="text"  name="mrId" value='${map.mrId}' />
               </li>
               <li class="Label_1" >患者名：&nbsp;</li>
               <li class="Label_2">
               	<input class="input_box" type="text"  name="name" value='${map.name}' />
               </li>
               <li class="Label_1">身份证号：&nbsp;</li>
               <li class="Label_2" ><input class="input_box" type="text"   name="idCard"  value='${map.idCard}' />          	 
               </li>
               <li class="Label_1" >出院科室：&nbsp;</li>
               <li class="Label_2"><input class="input_box" type="text"  id="idCard"  value='${map.officeName}' />          	 
               </li>
                <li class="Label_1" >质控内容：&nbsp;</li>
                 <li class="Label_2"><input class="input_box" type="text"   name="preQualityRepairContent"  value='${map.med_record_label}' />   
                <li class="Label_1" >返修者：&nbsp;</li>
                 <li class="Label_2"><input class="input_box" type="text"  id="updateMan"  name="updateMan"  value='' />          	        	 
                    <li class="Label_1" style="height:78px;line-height:78px;">质控修改：&nbsp;</li>
                    <li class="Label_4_2" style="height:78px;">
                    <textarea id="content" name="qualityRepairContent" cols="50" rows="4" style="word-break:break-all; width:100%;"></textarea>
                    </li>
                    
        </form>
              	 
<%--                 <li class="Label_1" style="width:11%">离院方式：&nbsp;</li>
                <li class="Label_2" style="width:78%">
            
                	<c:forEach items="${outHospitalTypeList}" var="outHospitalType">
                		<input type="checkbox" class="check_cl" name="outHospitalTypeIds" value="${outHospitalType.id}" checked="checked"><span>${outHospitalType.name}</span>   		
                	</c:forEach>
                	
                </li> --%>
                    <li class="Label_5">
                        <div class="right" style="text-align:right">
                            <a  id="Add" onclick="addMedRepair()">审核通过</a>
                        </div>
                    </li>
                </ul>
            </div> 
             
        </div>
      
    </div>
</div>
<!------页脚部分--------->
<%@include file="/WEB-INF/templates/common/footer.jsp"%>
<!--JS部分-->

<script>
    
   function addMedRepair(){
	   var updateMan=$("#updateMan").val();
	   if(!updateMan){
		   alert("返修者不能为空!");
		   return;
	   }
	   
	   var content=$("#content").val();
	   if(!content){
		   alert("返修内容不能为空!");
		   return;
	   }
	   $("#formId").submit();
   }
</script>
</body>
</html>